home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
BORL_TIP
/
TI1000
/
TI1728.ASC
< prev
next >
Wrap
Text File
|
1993-10-21
|
2KB
|
133 lines
PRODUCT : Turbo Pascal NUMBER : 1728
VERSION : All
OS : DOS
DATE : October 21, 1993 PAGE : 1/2
TITLE : Using editor from Turbo Pascal 4.0 w/ newer versions
This file is for owners of Turbo Pascal 6 or 7 who want to use
the editor from the editor toolbox that shipped with Turbo
Pascal Version 4.0. To begin, find the file called BINED.PAS
that shipped with Toolbox. You should make the following change
to BINED.PAS:
Procedure ResetBinaryEditor(var EDData: EdCB);
var X: Integer; { <<--- ADD THIS LINE; ITS THE FIX! }
begin
EditNew(EdData);
end;
The addition of the above line sets up a stack frame
for this proc.
Here's some additional text taken from the TP6 HELPME!.DOC:
With the exception of the Turbo Editor Toolbox, the 4.0
toolboxes will compile with Turbo Pascal 6.0. The Turbo Editor
Toolbox needs the minor source code changes described below in
order to work with the new heap manager:
MicroStar
---------
In MSVARS.PAS:
1) On line 219 after "var"
Add "FreePtr: Pointer;"
2) On line 295 after "begin"
Add "FreePtr := Ptr(Seg(HeapEnd^) - $1000, 0);"
In INVOKE.PAS:
1) On line 18 after "Dos"
Add ", MsVars"
FirstEd
-------
In EDVARS.PAS:
1) On line 139
Add "FreePtr: Pointer;"
On line 207
Add "FreePtr := Ptr(Seg(HeapEnd^) - $1000, 0);"
PRODUCT : Turbo Pascal NUMBER : 1728
VERSION : All
OS : DOS
DATE : October 21, 1993 PAGE : 2/2
TITLE : Using editor from Turbo Pascal 4.0 w/ newer versions
The TP6 notes then go on to talk about a new copy of BINED.OBJ.
This is a fictitious copy and does not exist. Don't try to find
it. Instead, add "THE FIX!" shown above.
DISCLAIMER: You have the right to use this technical information
subject to the terms of the No-Nonsense License Statement that
you received with the Borland product to which this information
pertains.